function load() {
  var screenHeight = $(window).height();
  var screenWidth = $(window).width();
  $(".container").css("height", screenHeight);
  $(".container").css("width", screenWidth);
  $("#end").cityPicker({
    title: "选择目的地"
  });
}
function changeBtn() {
  var name = $('.name').val()
  var enterprisename = $('.enterprisename').val()
  var enterpriseaddre = $('.enterpriseaddre').val()
  var phoneEmpty = $(".phone").val();
  var passwordEmpty = $(".password").val();
  var ConfirmEmpty = $(".password-confirm").val();
  var codeEmpty = $(".code").val();
  if (name.length != 0 && enterprisename.length != 0 && enterpriseaddre.length != 0 && phoneEmpty.length != 0 && passwordEmpty.length != 0 && ConfirmEmpty.length != 0 && codeEmpty.length != 0) {
    $(".register-button").css("background-color", "#61ca8b");
  } else {
    $(".register-button").css("background-color", "#dadada");
  }
}
function  createCode () {
  var phone = $('.phone').val()
}
